package com.zsk.shop.model.results;

import com.zsk.shop.entity.ShopGoodsSku;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Ys
 * @date 2022年02月25日 14:08
 */
@Data
@ApiModel("报单时获取商品列表")
public class GopGoodsListResult {

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty("商品No")
    private String goodsNo;

    private Integer goodsType;

    private GoodsTypeResult goodsTypeResult;

    @ApiModelProperty("商品主图")
    private String goodsImgs;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty(name = "allStock", value = "剩余总库存", dataType = "Integer")
    private Integer allStock;

    @ApiModelProperty(name = "skuList", value = "sku信息")
    private List<ShopGoodsSku> skuList;

}
